package com.design.pattern.factory;


/**
 * @author myz
 * @date 2025/4/11
 * @description 奔驰工厂
 */
public class BenzFactory implements FactoryMethodPattern{

    @Override
    public Car createCar() {
        return new Benz();
    }
}
